package org.example.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.example.domain.po.ErpMaterialAttribute;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.domain.po.ErpUnit;

import java.util.List;

/**
* @author 24059
* @description 针对表【erp_material_attribute(产品属性表)】的数据库操作Mapper
* @createDate 2024-10-17 11:02:58
* @Entity org.example.domain.po.ErpMaterialAttribute
*/
public interface ErpMaterialAttributeMapper extends BaseMapper<ErpMaterialAttribute> {
    Page<ErpMaterialAttribute> findByPage(Page<ErpMaterialAttribute> page,
                                          @Param("attributeName") String attributeName,
                                          @Param("tenantId") Long tenantId);
    List<ErpMaterialAttribute> selectByExample(@Param("tenantId") Long tenantId);
}




